import { getEditorProps, getGridEditorCommonProps } from './common';

/**
 * 获取标签的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getSpanProps<C>() {
  return { ...getEditorProps<C>(), value: [String, Number, Object, Array] };
}

/**
 * 获取表格标签的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getGridSpanProps<C>() {
  return { ...getSpanProps<C>(), ...getGridEditorCommonProps() };
}
